Refactored Login Redirection

I removed a bunch of the custom code that we had for ensuring that the
given user is logged in, and instead used a single filter method
defined in ApplicationController. I also added some log messages where
it was hard to determine why something failed.
Merge pull request #83 from aCarpenter/master

Refactored Login Redirection