Completed new invite loop

Added alert that invitation was sent
Redirected back to root if invite create was successful