validation agree and credentials expiration