starting home page functionality