bug fix in find_user_from_username method