Add checking the existence of cards to static_pages_controller