added pdf testing file
fix errors
remove login session
fix format