   apiKey = readline.question 'What\'s your Pixabay API key? To find it you' \
     + ' can log in to the Pixabay website and visit: ' \
     + 'https://pixabay.com/api/docs/ '
-    
-  # TODO: Test API key.
-    
   newUser.apiKey = apiKey
   
+  # Persist user file.
   user = newUser
+  persistUser()
+  
+  log.info "New file created at '#{userPath}' containing your API key. DON'T" \
+    + " CHECK THIS FILE IN TO SOURCE CONTROL."
   
     
 # Interpret commands.

    
    # On success.
    if isSuccessful error, body
      url = body.hits[0][resolutions[resolution]]
      
      log.info "Downloading image file from '#{url}'"

# @param [Object] args the arguments to the program
#
add = (args) ->
  id = args[3]
   
  # Check resolution.
  res = args[4]
