add resolve filter to routes