updates map to show a list of friends
tests for invalid email