Change return type for display the stock list
both for user and admin