fix user and session class