Added the validations on the login page.