Retrieve user-course states and execute some EJS logic based on the state.
Exposed Unenroll in the UI.