APEX 5.1.3
DBaas 12c
We need to do a check on all our pages to make sure that the user is allowed to view the page. This requires a pre-rendering branch Before Header that will execute a pl/sql function to determine if the user is authenticated to view the page. If not, they will be redirected to page 1.
I want to implement this functionality on Page 0, so that we don't have to code this for every APEX page, however, page 0 doesn't have a Pre-Rending section. (see image)
Any advice on how to implement this would be greatly appreciated.

Thank you
Annelize