history and uploading separated into different views