Limited facebook friends to 10 and order alphabetically, closed invite dialog on logout