#express middleware best practices