Fix bug when inviting new users via the members page on the main site, where creating the user will already make them a member of the main site, by checking to see if a relation already exists before inserting a new one. The reason for this particular fix is that it will still insert the extra admin_rel relation, if you're chose to make the user an admin.