Added more logic for access denied page