login js control added