Logout issue fixed