   def do_webhook(conn, "github", "integration_installation") do
     payload = conn.body_params
     installation_xref = payload["installation"]["id"]
+    sender = sync_user(payload["sender"])
     case payload["action"] do
       "deleted" -> Repo.delete_all(from(
         i in Installation,
         where: i.installation_xref == ^installation_xref
       ))
-      "created" -> create_installation_by_xref installation_xref
+      "created" -> create_installation_by_xref(installation_xref, sender)
       _ -> nil
     end
     :ok

    end
  end

  def create_installation_by_xref(installation_xref) do
    i = Repo.insert!(%Installation{
      installation_xref: installation_xref
    })

    |> Aelita2.Integration.GitHub.get_my_repos!()
    |> Enum.map(&%Project{repo_xref: &1.id, name: &1.name, installation: i})
    |> Enum.each(&Repo.insert!/1)
    |> Enum.each(&Repo.insert!(%LinkUserProject{user_id: sender.id, project_id: &1.id}))
  end

  def sync_user(user_json) do
