added carrierwave and photo uploading