The identity isn't set and incremented just by adding to the entity set...
The entity isn't actually saved to the db until you call context.SaveChanges()...
db.AddToUserSet(user);//Added to EF entity collection
db.SaveChanges();//INSERT executed in db, Identity set and incremented.