Add database configuration
Fix a typo
Add a migration for users
Test validateUniqueness()