         On success, it also logs the new user in.
       """
       def register(conn, user_params) do
-        @manager.create(user_params)
-        |> do_register(conn)
+        {conn, message} = @manager.create(user_params)
+        |> SessionInteractor.register(conn)
+        json conn, message
       end
 
       @doc """

      def recover_password(conn, params) do
        email = params["email"]

        @manager.recover_password(email)
        |> do_password_recover(conn)
      end


      @doc """
       Entry point for setting a user's password given the reset token.

        password = params["password"]
        password_confirm = params["password_confirm"]

        {conn, message} = @manager.reset_password(token, password, password_confirm)
        |> SessionInteractor.password_reset(conn)
        json conn, message
      end

    end
  end
end
