refactored subscribe and unsubscribe functions
refactored subscribe and unsubscribe functions

magnetsystems/message-samples-ios,magnetsystems/message-samples-ios,magnetsystems/message-samples-ios,magnetsystems/message-samples-ios