Added documentation to SessionService
Added tests for SessionService