Added missing user fields to database template