added user logout menu
introduced SessionManager service
refactored MainController to use SessionManager