[UPDATE] adding if user was invited and inviter to registered users