added proper routing and card controller