changed urls in cards to use request object