handle user login
Merge pull request #3 from jules2689/user-login-handling

handle user login