Changed LoginTask to use String output