Safe release resource
Refactoring: Use Spring's JdbcTemplate for UserDao