removes login urls from page check