update redirections in terms of login status