added the register user functionality