login and register edit