Cash Costello's request_password plugin for Elgg-1.7

I have changed all the depricated functions but still it is not working and is giving me an error saying that I can't request for lost password wile logged out. I think the problem is the function rp_request_username has to be declared in the start.php in Elgg-1.8.

The plugin: