handle cas log in/out through cas client endpoints. change to drupal l() function