updated poem.php in view and controller