basic setup for upload page