added validations and fixed the main contact when uploading article