fix first page and non-login page