Add database indexes
Add database indexes on users and images