support login by email or username.