Finished the registration module