working on the registering of users