changed action controller and response flow
Merge pull request #24 from frmwork/response

changed action controller and response flow