added labels to plots
staged controller for post request