adding the login js