[#61] refactored account model using getter for password