currently, if admin login as a user and gets the notification dialog, it clears the notification alert flag, thus when real user login, it will not get the notification. One solution is to check the admin_login_as flag (need to create) when displaying the notification and don't change the state.
currently, there is no difference in the log entry between the admin login as user and the real user except the IPs.
we could check the admin_login_as flag when logging and display "_loginas"