starting to implement api routes