[eluser]cpass78[/eluser]
could you post the entire controller starting with the class name and model being used or pm it one of us? By what you posted it 'looks' like it should function properly but thats only a small piece of the code. what is the exact error message displayed in the browser? do other parts of the site work properly?