fine tuning of login