fix form validation on login & signup forms