fixed duplicated footers on logout