added new dependency
removed debug logs
reworked validation of certificates