added route binding to the api context