validation and pdf uploader added