Update sessions with logout functionality