pre_get_posts only on main query and better 404 handling so the logic isn't needed for selecting the template
First case for letting people register on the front end. See #5