update style after login