integrated personphoto with the webcache because it was redownloading every time. simplified the code as well