Not sure on the first one, are you signed into windows with a local account or using this Hotmail one
For the Yahoo question, you can't just sign out from the mail app, but if you open up the charms bar while in mail and then go to settings, select the option for accounts and click on yahoo, bottom of this is the option to remove it from mail