confirm password async loading and error handeling