I think that it would be good to have a feature (like a separate menu item under the settings page) called See login activity, where users would be able to see the information (IP addresses, locations etc.) of the devices that have recently been used to log in to this particular account.
This way we can immediately change our passwords or take some other appropriate action if we see that someone has tried to log in to our account with our username. There is already a feature like this on Github under the
Security log menu item. Similarly, I want that whenever someone tries (either unsuccessfully or successfully) to log into the account, the event gets logged in our security log item.