Added uploading and requesting images from database.