Fix resetState not storing or sending new state data properly. Fix logout not deleting guild_key from session.