refactor doorkeeper_for and add skip_doorkeeper_for helper