fix registration and login form