improved LoginForm