Adds validation to login page for empty fields and invalid email