Polished log in process