Added some API routes