Add some checks to the upload page