modify login & register