@Override
    public Result<Boolean> delete(@NotNull String username) {
        UsersDAO dao = new UsersDAO(getDBConnection());
        try {
            if (!dao.deleteUser(username)) return new Result<>(false, ExceptionMessages.NO_SUCH_USER_FOUND);
            return new Result<>(true, ExceptionMessages.OK);
        } catch (SQLException e) {
            e.printStackTrace();
            return new Result<>(false, ExceptionMessages.SQL_ERROR);
        }
    }