Added dialog for Logout