Fixed redirection after nickname log-in. Fixed nickname log-in page rendering.
logout now clears window.onbeforeunload() events.
submitpoll now does user logging on server side; also, fixes for logout onbeforeunload events.
Testing prep. BDD etc.