Refactored Apple Device registration process