move vaild logic from login-name and password to a seperate methode
update testDeleteAdmin