Add auth checks to Pages controller

 * Whitespace cleanup