Fix user form checking and error messages.