Hello hasana
With login I assume you want to be able to manage the access to your application by verifying user identity and restricting access to specific areas of your applicaiton to specific users.
I suggest you look at the Acts_as_Authenticed plugin which will help you to do this…
http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated
Regards Ivor