Add session support

Session support was added