I can log in and log out from my home page adding the login controls to it. But when I log in or log out from the home page, it takes me to the Default.aspx page that is created when the web app is created. How do I control where logging in goes and logging out goes?
With forms authentication, I used to control it by adding
<authentication mode="Forms"><forms loginUrl="~/Account/Login" timeout="2880" defaultUrl="~/Index.aspx" /></authentication>
That is no longer an option from what I can see.