Added checks to restrict access to certain sets and photos to allowed users only