Add validation for mod login form