fixed bug on index for users who don't have a profile photo yet