added server side validation to the email and password fields used in
authentication process

validation errors are display on login page