Added checks for content access
Added check for course purchase