Generating User model