fixed issue with forgotlogin success alert causing crash