created much nicer login form with proper validation and created extra validation for when username or password is valid but incorrect