configure CAS server
small fixes