Added user registration
Improved user registration