Added login requirement to get to listings.php