Add logout functionality (local session)