Corrected registration and login form