Fatal bug fixed, and main page now accessible via proper endpoint only

Main page template now only accessible by the following endpoint:

/sewi/encounter/[encounter ID]/