* added module for sessions
* fixed tests