Check for url params size before assigning token