change get to post for action routes