Fixes #167

Also adds security around the pharm/triage/medical pages so that researchers and admin cannot view the page, along with people who are not logged in.