form validations and image validations fixed