Implemented phpCAS to MODX manager for an extra layer of security.
These codes are placed at the top of manager/index.php
This log out link goes in manager/frames/menu.php
<a href="?logout=" target="_top" style="color:#fc0">Sign off CAS</a>
The default setting for these files are chmod 444. Change to chmod 644 when making the edits. Once done, change back to chmod 444.
Remember: When upgrading MODX, make sure to put these codes back in.