Edit header

Adds apiPreHandler return override object
Overrides title to page for API requests

Change-Id: I5f406899e6b875e1472c2d479e8bf19a3636f917