Any way or any event are in frappe or erpnext call a function after login

how can i call my js function after login??? anyone knows please help

Maybe this will help?

Also, if you don’t really need JS and could use Python there is a hook for it (auth hook)
https://frappeframework.com/docs/v13/user/en/python-api/hooks