Added new apis to query users and fixed EF.Inmemory

@HaoK @divega 

Adding new apis for query users with claims and users in roles
The cast is not needed so yeah I have kept the code as is