Begincontent Not Working In Layout File

in my application i have to show link of ‘login’ at top right corner of app.and on the click of it i have to show a popup asking for i think i have to create an action ‘forgotpassword’ in user controller and then call it in layout file by calling

<?php $this->beginContent(’//user/forgotpassword’); ?> <?php $this->endContent(); ?>

but it is not working.can somebody help me?thanks in advance