Base code for user login

User login