Added logging capability to the front end