Implemented callback function to display messages on table view