add method -> setAction and setUrl