simplified LoginForm validation