restructure log in GUI