fixed auto-login (working in Chrome only); added logout link on home page