adding name api controller