update api of account resource
change references of account service to use account resource