changed id to use postrgres uuid instead of char