removes the task menu when users don't have access