adding the SessionManager class