Use DELETE /1/logout to properly logout