update for landing page functionality and some code clearing