Made a lot of changes with the errors and created an id2username function that also enables cacheing for less api calls.