Don't call render in format.html
Don't use guard anymore
Use omniauth-cas url parameter instead of host parameter