Updating order of middleware

Don't want to log information on static content.