Simpleauth is a very simple way to authenticate and give authorization to your users.