update registration, login and validation