Renamed UserSession to Session
Updated document service methods
SessionManager refactoring
Fixed authentication in rest methods