add primary device user data model and table
add device count to user model and data