add login dialog if the user session has ended