Revert "minor change in registration and login"

This reverts commit cf34ad76841e2e974a6348f59967b055beb4d816.