user auth added as a flag to switch between dev and live deploys