Showing messages on UI

Added code to show resultant messages on UI for Server and client,