proper minor changes in registration and login