updates to use guests table as user table