checkign settings on logout