api routes for adding and removing redirects