When i open the sharepoint site,the login dialog box appears on the screen.How can i ensure that when the user wants to login,he clicks the sign in(button) at the top of the page and login into the website? And if user clicks cancel on login dialog box then the page is redirected to a page which showing an error message as 401 unauthorized.I want the page to redirect to home page when the user clicks cancel button.what to do?