verifying password/name fields not empty