Add validation for login form