added login js file