Added frameworks and registered for push notifications