fix signin and finished index page