Updated routes for seperation of API and Web middleware