refactored checking if user has routes