displays login OR logout