Improved login & password input method