Added tag codes to views and redirected unauthorized