rebuild view on logout
rebuild view on login/logout