Update AppDelegate.m

some code removed for security reasons