Add the logout resource and hook it up