LoginIn handler from Server


Hello people

I need help to do something.
From server side I need to detect when a User login in, only when that happen (only new logins) and not when reload the page.

I use Accounts.onLogin(function () {

But this shows when a stablish connection to server from user logged.