public boolean insert_user(String username, String password, String sex) {
		// TODO Auto-generated method stub
			PreparedStatement st = null;
			try {
				st = getPreparedStatement(RegisterPerson);
				st.setString(1, username);
				st.setString(2, password);
				st.setString(3, sex);
				st.executeUpdate();
				
			} catch (SQLException e) {
				log.error("Exception : insert into user error");
				e.printStackTrace();
				return false;
			} finally {
				try {
					if(st != null){
						Connection conn = st.getConnection();
						st.close();
						conn.close();
					}
				} catch (SQLException e) {
					e.printStackTrace();
					log.error("Exception : close statement or connection error! in insert_server");
				}
			}
			log.debug("insert into user ok!");
			return true;
	}