Added REST support for accounts