added sessions, and changed some services