Get account by ID

Retrieves a single account record by its accountId from the database.