Refactored the UI code.

UI is modified and able to display employee names.