Fix docs
Code clean up
Updated CAS
Hint for IDE
Fix deprecated url logout thing
CAS works for username and email