Getting stock list from database