moved ui to html file