changed logout button to commandLink
added initial client-side JS for framework (temporary)