Trying set session using JSON