Implement query friends by filtering email

- Exclude anonymous and system user
- Exclude the current user