Hi,
That is not the right way to redirect users to the logon page. You should instead use Response.Redirect to redirect the users to the logon page.
Response.Redircet("logon.aspx");
However, for extra security, when the users click the logout line, you should take the user to a landing page, ask him to close all the browser windows and navigate to the home page of your application.