Do you compost the urine?

Generally, no! Urine can be added to the contents of a compost bin if it gets dry but it can be flushed, drained, poured over grass, poured under hedges, around tree bases or diluted (approximately 8:1) and used as a liquid fertiliser.