created register.php added API constant