Update registration and login