Added functionality for post submit

hold space in memory for post data content in controller.