Add functionality for different index pages depending on whether vendor is logged in or not.