DRY up FormRouter and catch bad urls