changed api routes to try to fix angular route