seperate api routes from base routes