Users comming from others sites are redirected to the home page when they don't have grants to use a function