Create User model; add type to User; add index on type to User