convert dto to dao
implement repository pattern
create user repository, add back search resource