simplified how login works