show/hide search form depending on valid token