added login and logout functionality, sessions controller