roughing out the rest of the api handlers