validate form checks if all fields are filled in a form! works on the usernamepassword form so far