add options routes for all routes, closes #598