login working : indexes required