Fix for user signout, redirect to root on permission denied