Fixed get*byUsername api code