Fix errors with contacts/view
Database config
Cleanup .gitignore