check authentication when uploading files
fixed auth for upload
destroy session on sign out; not only user data;
Merge pull request #28 from evo42/minimal

Minimal