Extend the userModel, added login and logout routes