js button for login