add registration to front end