Add security via methods and latency compnesation via methods on server/client side