add logging, create cleanUrl method, get icon coloring working on different pages