add correct css class to agent-profile template