removed card details for admin
moved admin user view logic to controller and updated card index script