Fixed broken logout