[Upg] enable login with email or username