Fix another place where should use removeItem() instead of set to undefined.

Got an if statement in the logout method. Not sure how it got there feel free to just modify the removeItem() directly.