Registration new user now works properly