You can also look at some great tutorials at www.larryullman.com on both authentication and authorization. That worked great for me when i was creating a custom login with several user levels.
With yii-user you can also use yii-rights for the user-levels.