showing logs and directories on webpage