Fixed mispelling and incorrect use of userId instead of userName