The logout
node in your security.yml should contain two subnodes defining the logout path and the target where a user gets redirected after a logout:
logout:
path: /admin/logout
target: /
Not sure if this also works in sonata context, but it should work under normal conditions.