Implement register user method