private void showLoginPrompt() throws IOException {
   System.out.println("Do you wish to login with your last.fm name?");
   System.out.println("This is optional, but it optimizes the search algorithm");
   System.out.println("by erasing every artist from any search that you already know.");
   System.out.print("Enter your last.fm name or leave it blank to proceed: ");
   String username = in.readLine();
   if (!username.equals("")) {
     System.out.println("Fetching library (this might take a while)...");
     try {
       int libSize = ui.loginAndGetLibraryCount(username);
       if (libSize != -1)
         System.out.println("Fetching library: DONE! " + libSize + " artists found.");
       System.out.println(separator);
     } catch (NoSuchUserException e) {
       System.out.println(
           "Error! There is no such user as "
               + e.getMessage()
               + "! Proceeding without library...");
     }
   }
 }