call server side functions from the client