added auth test
added auth check
added auth check to file upload
merged
Merge pull request #144 from assureit/auth_require

added auth check