Added logout on REST resolver