added carrierwave gem and completed the functionality of the form