added testing for viewing users profile