Add logout support
Add login_required to damages page