updated for postgresql
added basic HTTP auth
Fixed sorting issue on the edit/new forms
fixed error in procedures controller
set up for image uploading through the amazon cloud