Added unregister.php script and fix problem with register.php and
GCM.php