implemented fields validation fixes https://github.com/globaleaks/GlobaLeaks/issues/518