JS: start tracking user logins