Added saving route to database