Added new apis to query users and fixed EF.Inmemory