Change 'user.name' to 'user.username'.