add some methods to account resource