Update register.php

Finalize the prevention of special characters