Added assets middleware