updated logout in homepage