Implementing register user