update the log in and register