Added User class, and sessions