added invite a friend feature (pre-solution)