Create Session manager for login and logout
Close #144   Logout functionality