index removed redirected to login