Added check to verify user is in group