link between flat and users