add auto redirect after 5 seconds on restricted