userid in json and clears storechecks after successful post