check github authenticate in before_filter