implementing a view to see the msg in browser