Fixing register.php,, added notify function

trying to make compatible with new getReps, getting an error trying to
insert the user into the database. Added notify.php,  in templates and
notify function in functions.php, similar to apology function