adds route for chrome extension endpoint