add sell and check stock functionality