fetch username from curl request