public User findOneUserByEmail(String email) throws Exception {
		// TODO Auto-generated method stub
		User user = null;
		Connection con = ConnectionFactory.getConnection();
		String sql = "select * from user where email=?";
		PreparedStatement prep = con.prepareStatement(sql);
		prep.setString(1, email);
		ResultSet rs = prep.executeQuery();
		if (rs.next()) {
			user = new User();
			user.setId(rs.getInt("id"));
			user.setNickname(rs.getString("nickname"));
			user.setEmail(rs.getString("email"));
			user.setPassword(rs.getString("password"));

		}
		return user;
	}