In our project there are two types of users one is customer who wants to buy products by auctions and another is vendor who wants to sell his products.
At the time of registration user can select that he want to be a vendor, customer or both. If he select vendor he can login with his vendor id and password vendor can add his product details, edit existing product detail and he can delete product also. But he can’t participate on auctions to bid on a product.
If he registers as a customer then he will login with his customer id and password he can choose any product which is available for auction from the menus then he can bid on that product. But he can’t set any product for auction to sell.