removed typos from login js