Change user filtering to work on the client side

Returns 404 for user has not oid
Remove outdated line