ForEACH loop on searchCust()

Fixed the loop for searhCust() to use Foreach loop . Now we don't have
to worry about indexes when we loop through which means we can delete
users etc.