Adds getUserPhotoResource and Mades photo.filename unique