Do we need two handlers, or just a single handler? If token is nil, then it should be a logout action.