forward api requests to pages;