login modified with a better UI