Added database calls for uploading picture