login with preferences