Add config to determine if user can login with email or username