Redid login and register pages