Logout REST API prototype