Handeling the logout
Implement 404 handeling

WebFiles are handeling differently, because they have to remove the web/
part of the url.