public void deleteUser(String username) {

		boolean active;
		String activeBoolean = null;

		try {
			String table = "users";
			String[] fields = {"active"};

			crs = qb.selectFrom(fields, table).where("username", "=", username).executeQuery();

			if(crs.next()) {
				active = crs.getBoolean("active");

				if(active) {
					activeBoolean = "0";
				} else if (!active){
					activeBoolean = "1";
				}
			}
			if(!activeBoolean.equals(null) && !username.equals("admin")) {
				String[] values = {activeBoolean};

				qb.update(table, fields, values).where("username", "=", username).execute();
			}
		} catch (SQLException e) {
			e.printStackTrace();
		} finally {
			try {
				crs.close();
			} catch (SQLException e) {
				e.printStackTrace();
			}
		}
	}