Did some before filter stuff to home page