Creating PUT method for user invitation