Finished the registration part
Bugs exist for preference center