(clean up) Cleaning up files.controler.js
(fix) Add promises to empty local Db so that new projects redirect to files page works correctly
Merge pull request #173 from wykhuh/feat/auth

(fix) Add promises to empty local Db so that new projects redirect to files pages works correctly.