Small fixes

* Cascading delete now works on server side
* Small delay when logging out, before settings page is refreshed. Otherwise tap is triggered twice.