final update modal register and login