add usr and psw check