Added joining members to database if not in it