Remove extra login javascript