added get_user_by_email for login