userid default should be 0 (thanks Djibs)