Update registercontroler.php