added autogenerated ids, enable authentication