Finished the Registration back end