change a bit the css on ucp
put pdf generation in a class
fix timestamp