@@ -0,0 +1,821 @@
+package peergos.server;%0A%0Aimport peergos.shared.*;%0Aimport peergos.shared.user.*;%0A%0Aimport java.io.*;%0Aimport java.net.*;%0Aimport java.time.*;%0A%0Apublic class Renew %7B%0A%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        Crypto crypto = Crypto.initJava();%0A        NetworkAccess network = NetworkAccess.buildJava(new URL(%22https://demo.peergos.net%22)).get();%0A        String username = args%5B0%5D;%0A        LocalDate expiry = LocalDate.parse(args%5B1%5D);%0A        Console console = System.console();%0A        String password = new String(console.readPassword(%22Enter password for %22 + username + %22:%22));%0A        UserContext context = UserContext.signIn(username, password, network, crypto).get();%0A        context.renewUsernameClaim(expiry).get();%0A        System.out.println(%22Logged in %22 + username + %22 successfully!%22);%0A    %7D%0A%7D%0A

add a renew username utility