finished invite friends feature and refactored with concerns