Added fields validation

plugins, smtp and databases