Added session class. Removed unused variable from user model