fixed user creation on registration