added certificates and alert boxes