Generating User entity.