Feature: beforeModel check for token to avoid unnecessary ajax calls