add basic route validation