simplified authentication of custom routes