changes in named query and user dao test