adding component and page to the context for helpers