Merged UI with polling controller code