distinguish login from reload