Problem in the authorization plugin

hi All,

i used the authorization plugin and add it to my application. bt when it
runs it gives a error like this,

Couldn’t find #current_user or @user, and nothing appropriate found in
hash

any one hows where i have gone wrong. pls need a help.

Thanks
Nadeesha