Changing api routes to include /api