Send $data to the page function

Avoid getting warnings about global variables / scoping
Create the system user, and force uid 0