update login,register and forget