- fixed bug with sessions