minor fix for when there are more than one facility profiles with same email address
remove logs
Merge pull request #413 from jofomah/feature/pull-app-config-profile-from-view-uri

Feature/pull app config profile from view uri
Modularise counter template, closes item:634
Stop on more events, refs item:633