added better validation and improved template to upload pictures