Create UserConnection Function