add index to homeworks_user