Fix #10. Implement LogoutAction
Fix #9. Invalidate model after deletion.