added password when creating object