login.js customisations

fixed typo in srcDirectory