add log permisisons for photos