KRACOEUS-7940

- Updated code to fix exception 
Why are we hardcoding the username here?? This is supposed to be the logged in user. Please if you have hardcoded this in other urls, please remove there as well.