Frontend ting for loggerng