i am trying to implement a website for online courses.the authorised users can login and study the chapters.every user should have a specified time for a particular course.if the time is over then the user cannot access the related course pages.after login if the user see only static pages then the time should not be counted .how can i perform all these functions?plss help me.