Refactored. Made CAS URLs dynamic based on appName. Clarified some of the page render text.