Multiple Customer Funcitonality

Added functionality to deal with multiple users returned by a query.