Core pr 5

Fixed some user redirects and coding style.
This is no longer `hook_preprocess_page()`.