add status validation on task.js model