Another large change because doesnt allow for multiple tasks as all ussers have to point to one pendingtask
Seems to be working slightly, some errors, but definitely working better