Configure home page and before_filter