I don't understand why the double if here. Why is omniauth.enabled included here?