added userId to earrings and changed controll flow for viewing earrings