This is the accompanying code for Login, Authorization and User Administration http://www.catalystframework.org/calendar/2011/15