Where, in the code you posted, does it check for correct login information?