hooked in sign up page, prevent empty form submission