In real time - what user connects or disconnect

Write a tool that will be displayed in real time, what user connects or disconnects from a system that uses this tool :))

Maybe anyone can help me?

who

last

hmm,

watch -n who

this program no need for me, because i need that terminal write when user connected when user disconnected.. like log :slight_smile: