added dto's and fixed the create method of user