Code gererated with gii
Changed login authentication from database