a bug of Login Generator?

I used the Login Generator to generate the login system. And then
I wanna add sth in to the "User" class(It's generated by the Login
Generator). But every method I add didn't work at all. When I call
the mothed in a controller, a error comes(NoMethodError).
    How can I add my own Method and get it work?