adding type to photoURL