fix login tracking