Renamed our session class to TMSession bacause of conflicts with the Session class