changed from post to action for button