additional cleanup to get user logout wired up for the settings tab and final chapter of the book