A sinatra extension wrapped in a gem that implements authentication/permissions with users stored in the database. Now with optional support for facebook connect.  This fork adds simple ajax responses from some routes.