Test images
updated data
made variable private
changed flash.now to flash and changed render to redirct_to