Working PDF upload and viewver