Adding username and group for agents