Added Session collection
Fixed bugs with sessions