Default coder type id  to 2.
Check null for social user id.