Adding logging middleware
Fixing logger config
Correcting image URL generation
Fix for issue #44 - Logout link redirects to /accounts/logout/ and still shows the user as logged in