make userid unsigned int (according to docs)