admin pages permission check
jshint fixes
Merge pull request #187 from CruGlobal/adminPermissions

admin pages permission check