My basic framework for restful securing apps.