Add index to user model