 
   def get_token do
     url = Application.get_env(:confluence, :url)
-    request_body = %XMLRPC.MethodCall{method_name: "confluence2.login", 
-      params: [Application.get_env(:confluence, :username), 
+    request_body = %XMLRPC.MethodCall{method_name: "confluence2.login",
+      params: [Application.get_env(:confluence, :username),
       Application.get_env(:confluence, :password)]}
     |> XMLRPC.encode!
     |> web_request

  use ExActor.Strict, export: :encore
  import Prelude

  @url Application.get_env(:confluence, :url) 
  @wk1 String.strip(File.read!("data/wikitemplates/wk1.txt"))
  @disabled Application.get_env(:confluence, :disabled)


      name: String.downcase(user.edx_email),
      fullname: user.nick}
    case make_request("addUser", [userdef, pwd], token) do
      h = {:ok, _} ->
        %{ user | wiki_pwd: pwd } |> Survey.Repo.update!
        reply(h)
      h -> reply(h)
