added OPTIONS as a route type