added api to get nanny info

closes #57 added the api but it is similar to the parent one and added
it to index.php