add spring,use jdbctemplate,write user dao and test