First draft of user inventory function