save route logic implemented