actions are now getting sent to server as well