Refactor logging in in main.js
Refactor logging in in main.js

andrew-sayers--frontier-forums/frontier-forums-moderation-tools,andrew-sayers--frontier-forums/frontier-forums-moderation-tools,andrew-sayers--frontier-forums/frontier-forums-moderation-tools,andrew-sayers--frontier-forums/frontier-forums-moderation-tools