refactored AddTaskServlet

refactored AddTaskServlet
fixed merge conflict