imporved login