Made import data to database and users function in domain namespace