title: custom login in yii2 framework
body: <p>I am new to Yii 2.0 framework,I went through many articles on how a user can login using credentials from database and not in an array, but couldn't understand how it works, Every time I execute I get errors.</p>