Now using new json path and common login.js and logout.js