Fixed rgistration, User model is now properly created during registration