Update User.php

Re-index the array after making a gap.