Added user repository method for new user registration.