complete tasks backend