getlogout to logout