[https://www.loom.com/share/34d4c4c2effd4157b5cd926428a90a47](https://www.loom.com/share/34d4c4c2effd4157b5cd926428a90a47 "")
We added a lastActive to user that updates every time refresh is called as well as login/register. We can use this time to determine whether a user is active the last 5 minutes.
- Configure the lastActive bubble for users to be based on user.lastActive. Show green if active with last 5 minutes.
- Make sure the socket from the server still works
- Feel free to simplify it
- Make sure when you logout it fires a lastActive that is 5 minutes ago so it shows as inactive
- Add isActive boolean