1st attempt to fix #50 

If user did not fill all fields, he gets a popup and is redirected to the register page