connect js to new login button