It is getting rather tedious repeatedly pointing you to where in
railstutorial.org you can find the solution to the questions you ask.
In this case the answer is in section 6.1.3 Creating user objects.
I can only suggest once again that you take a couple of days out and
work right through that tutorial, including doing all the exercises.
Then you would not need to waste your time asking such questions.
Colin