login & pass from registry work