Controller Layout Component middleware for express