Added the functionality to view the invite and to accept it. I also built in a check to see if a invitation has not already been sent