update from root

made some small changes to the registration process