Setup database, get authentication working, fix gitignore