This was once discussed, you could perhaps as logging in get the id from database as well, then see if that id is the current auth id, if so display a friendly message....
I did this, but what if the user closed the window and didn't logout? in this case the session will still active waiting to be logout out or timeouted.