Zotonic module to control session