Redirecting users who access the wrong page's app