manage the login field