Added logic so that there's a feedback for user when sending a message. Fix Issue #8.