fix homepage logout issue #11