change database.yml
fix admin pages controller