pub fn get_identity_service(
    settings: &Settings
) -> IdentityService<CookieIdentityPolicy>