Added code to use the imported data for the users. To be tested.