|009|Siddharth, Megha| added logger and refactores ui code
|#009|Megha|changed some error messages