Update InternalMessage.cpp

Added database functionality to sendMsg and displayMsgs