RESTful interface of the AccountService
Switched to connection pool in PostgreSQL