Helper for testing logged in user
Render 404 on various exceptions
Implement private assets