Finished the first part of form register