passing custom data through routes