private method call error fixed -> has_password?