fixing issue #5

Fixed things:

1. Duplicate user in output, when user has more than 1 value in a MultiValuedAttribute
2. User is not found when it has no name Attribute

Also cleanup up imports