finally figuring login