misc changes

misc small changes. added logout button. added login delay to slow
brute-force attacks. now a mandatory 2 second delay is added at the time
a username and password have been entered.