Added pdf controller