add user and password check