added analytics tracking
now returns 422 and shows error when trying to add task with blank title