add querying to tasks
remove usertasks and fixed deletions
change pagination