add upload and display functionality