public static String getDisplayName(String username){
		
        try {
        	SQL_STATEMENT = SQL_CONNECTION.createStatement();
			SQL_RESULTSET = SQL_STATEMENT.executeQuery("SELECT * FROM names WHERE username='" + username + "'");
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        try {
			while (SQL_RESULTSET.next()) {
				return SQL_RESULTSET.getString("displayname");
			}
		} catch (SQLException e) {
			e.printStackTrace();
			    return username;
		}
		return username;
	}