title: In yii How to generate login functionality
body: <p>In yii i am creating login functionalities. But in my case client side design is in extjs and server side design is in Yii framework. So in yii controller i want to create login functionality in such a way that client will enter username and password. In extjs this data will be accepted in Json format,it is then encoded and sent to server. So now at server side  i will receive username and password. so my work is to create login functionality in Yii using this received username and password from extjs. i.e. at starting phase i want to create login functionality assuming hard coded username and password. So can you please help me.</p>