adds save method and route for guid