adding ldap useflag to default login
adding ldaplogin useflag to default