enable login via email or username