 
         def connect(%{"token" => token}, socket) do
           # Max age of 2 weeks (1209600 seconds)
-          case Phoenix.Token.verify(socket, "user", token, max_age: 1209600) do
+          case Phoenix.Token.verify(socket, "tokensalt123", token, max_age: 1209600) do
             {:ok, user_id} ->
               socket = assign(socket, :user, Repo.get!(User, user_id))
               {:ok, socket}

    * a string, representing the secret key base itself. A key base
      with at least 20 randomly generated characters should be used
      to provide adequate entropy.

  ## Usage


  the id from a database. For example:

      iex> user_id = 1
      iex> token = Phoenix.Token.sign(MyApp.Endpoint, "tokensalt123", user_id)
      iex> Phoenix.Token.verify(MyApp.Endpoint, "user", token)
      {:ok, 1}

