set result after login