edited create action in tasks controller so completed checkbox must == 1 to be marked as completed.