start tracking on login and stop on logout