updated registration

added stuff for registration