rest and pretty ui