data handling for invalid file types
added validators and error handling on bad data
Added devise authentication