add registration main file to run the server