Implement the function of notification in order to insert messages in savannadb