updated logout