implemented channel encryption and file download
added db connection sample for data tracking