add login via CAS
add potions to methods which support acting_as; more logging cleanup; add missing import