Prevent accessing internal views without login