automaticly generate form action based on request roure