Created a scaffold for the invite function