User Login Form refactoring