updated login js, login works in the actual ios app, not in the browser, beginning on investor