Fixed register.php bug, fixed notify template