changes action to post
changes method name to implement post