Update ucp.php

Some fixes.
Merge branch 'lavigor-patch-7' into ascraeusrupack