finished checkAccount()