Added access denied page and redirect