added colorcoding for log messages