<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def release_name(self, username):

 """ release a name and add it to the temp list """

        self.temp_names.append(username)
        if self.is_username_used(username):
            self.registered_names.remove(username)