Add Task: Added exceptions handling and redirection to index  when successfull