<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_user_by_username(self, username):
 """Find a User object by username."""

        return self.db_adapter.ifind_first_object(self.UserClass, username=username)