Add before filter to posts controller to check for token