Updated PHP client with new startActivity function