use morgan middleware to print log.