started implementing of sessions