added /api to routes