hooked up image upload to DB