Handle 404 for bad server logs, fix order on messages view