tweaked User registration