updating route redirects on login, logout, register