refactor these common methods
improve validations
improvements to XMPP connection; added logging; still needs love
sidekiq workers for XMPP integration