Added permissions for viewing photos