Added logging out.