Added logic for saving routes in front-end