add if/else logic for profile image (work in progress)