in add(), gid is created on the sever now, not the client. removed display_record...