username deprecated by name in api 2.1