fixed migrations for active record relations. Updated index for better listing of blogs