last |grep USERNAME

who

 

http://osxdaily.com/2014/03/25/see-users-who-connected-to-mac/