I want to catch errors for blank email or password for wrong email for wrong password for multiple credentials what should I like to write also if it pass then it should auto logout