Changed layout. Added session object