implement the contact info function

TODO: refactor the code in ContactPhotoFactory class
it is fecthing the contact data each time.