Login in and out

I have to create an online auction using radrails, can any one help me? I need to be able to create loggin in and out accounts? cheers