Fix /topic/user-created bug (duplicate declaration + typo)

Also removed uneeded CORS filter
Better disconnect handling