edit register, login