send an event when the user logs in