modify view live and preview course,subsection links,add ip method