Session fully functional. Implemented logout function.