autowire userid
print a warning if the user is in the wrong group