logout added to client
logout for manager