fixed bug to extract current user records