Login and new user registration working