When registering the agent or password reset still affililates word is used instead of agent,please change it and when admin creates a agent from admin login then mail which going for agent,please change the word Dear user to Dear agent