rename config.js.sample to config.json.sample
add persistent sessions