allowing email as login instead of username