Updated MainFrame to use RuntimeAPI.getUser