Added logout code
Remove spurious title