catch null user/pw