add index redirct before login