add logger and comment for dao impl