added a form helper to handle form validation and response handling. sign in/sign up should now be entirely functional