Hi Shailaja, and welcome to the community!
It sounds like what you want is to keep track of the user's progress. What does your domain model look like at the moment?
It would be a good idea to divide your course into several modules or subsections, and keep track of which ones the user has completed and which ones they haven't. That way, you should be able to determine which page to open when the user logs on again.
The same should count for completely finished courses – if you keep track of those somehow (for instance, with an association), it should be easy to create an overview on the user's homepage of which courses are complete and which aren't.