I have a script which I installed from hotscripts.com.

There is no logout feature. Is there a way that I can add a line of code so it logs the user out automatically when they close the browser window?

The problem I am having is that when my client goes to log in, it fails the login attempt once or twice before it lets them back in.

Any suggestions?