The LoginStatus control displays a login link for users who are not authenticated and a logout link for users who are authenticated. The login link takes the user to a login page. The logout link resets the current user's identity to be an anonymous user.
Drag the LoginStatus control from the Toolbox panel to your page.
You can customize the appearance of the LoginStatus control by setting the LoginText and LoginImageUrl properties. To set these and other properties that determine the appearance of the LoginStatus control, use the Tag Properties panel.
For a full description of all LoginStatus control properties, see LoginStatus in the MSDN library.