Adding task to back end when submitted

Also does a dashboard refresh