setting up messenger module