login compatibility