Certificates edit servlet and UI improvements