update server login and registration