Which line exactly is giving that error. Is it hitting the if statement which returns true therefore just returns the
string and never uses the Model object.
What happens if you set a break point on the first line of your controller? Does it get called? what is in the model if you do get to that line. Examine the variable in debug mode in your
IDE.
Thanks
Mark