pages controller checking auth nicely for all actions excep show and index where the check is not needed