Improved user registration