added directive for log viewer
added log viewer design and functionality