add registration.php

add file register.php and registration .php, some  improvement still
need to be done