route hooks for the api, and a catchall for backbone