fixed bug in session handling and added sessionography gem to allow for proper testing