working in logout
added temporal support to logout