displaying pictures in both profiles