both log in types working