updated the form action methods

does not work on mobile