Renamed required field "uid" to "userid"