adding id check to socketmodel