saving progress on alans_flow and record_data
testing database table photos