Validation added for login page