Frontend communication with server, new routing.