added $http events in the userChatSvc file