putting oath to work with the api