added frontend logging