Added user login and registration.