Added mysql fail checks
Added 3 fail abort on password entry