Rerun home page code on logout