Move isAuthorized() into winutils so it can be shared with other modules
Add horizontal rule comments