Rewrite of frontend/pages/register.php