adding "code" to user table