hooking up AE in app delegate