Added check for user in enrollment spec