public boolean isExistForumUser(Connection con, String user) {
		/* Compose query. */
		String SQL_QUERY = "SELECT COUNT(username) entries "
				+ "FROM xf_user "
				+ "WHERE username=?;";
		/* Execute query. */
		try {
			PreparedStatement stmt = con.prepareStatement(SQL_QUERY);
			stmt.setString(1, user);
			ResultSet rs = stmt.executeQuery();
			
			/* Return first result */
			if(rs.next()) {
				Integer result = rs.getInt("entries");
				return result>0;
			}
		} catch (SQLException e) {
			e.printStackTrace();
			
		}
		return false;
	}