added a 'logout'