User login

Changes to handle user login