fix(login): change to use json.parse vs eval