Update login logout.