Add User model find_by_code.