Add more required fields for registration

Close #41.