adding to view to display response message in status code if it exists