added checks for subscribed and purchased content