Added user registration support