added form validation gem
basic validation for upload form