Made userid required