Fixing user name mechanism
More work on dataSampler
More work on distance.model