Moved authorized user saving and initialization into ruby code
Updated JS code
Moved config files into /store folder