Fixed a bug where logout didn't remove your key from the db.