adding new login js function