added action for sending invitation