Rebuilt documentation and tried to fix the session end bug.