Added SessionManager class