Added CAS authentication stuff